import request from '@/util/request'
import baseUrl from './base'

export function insertOtaHardware(data) {
  return request({
    url: baseUrl + '/ota/hardware/insert',
    method: 'post',
    data
  })
}
export function updateOtaHardware(data) {
  return request({
    url: baseUrl + '/ota/hardware/update',
    method: 'post',
    data
  })
}

export function deleteOtaHardware(data) {
  return request({
    url: baseUrl + '/ota/hardware/delete',
    method: 'post',
    data
  })
}

export function listOtaHardware(data) {
  return request({
    url: baseUrl + '/ota/hardware/list',
    method: 'post',
    data
  })
}

